#include "doctorcommunicationpage.h"

DoctorCommunicationPage::DoctorCommunicationPage(QWidget *parent) : QWidget(parent) {
    QVBoxLayout *layout = new QVBoxLayout(this);
    QLabel *label = new QLabel("医生交流功能", this);
    QPushButton *button = new QPushButton("交流", this);
    layout->addWidget(label);
    layout->addWidget(button);
    setLayout(layout);

    // 在这里连接按钮的信号槽
    connect(button, &QPushButton::clicked, this, []() {
        // 处理交流逻辑
    });
}
